package com.itheima.reggie.mapper;

import com.itheima.reggie.dto.OrderDto;
import com.itheima.reggie.entity.OrderDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 黑马程序员
 */
public interface OrderDetailMapper {

    //批量插入订单明细表
    void saveBatch(@Param("orderDetailList") List<OrderDetail> orderDetailList);

    List<OrderDetail> findUserIdByDetail(Long orderId);
}
